<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{$siteRs.title}</title>
<meta name="keywords" content="{$siteRs.keyword}" />
<meta name="description" content="{$siteRs.description}" />
<link rel="shortcut icon" type="image/x-icon" href="{$siteRs.ico}" />
{include file="public/css" /}
</head>
<body>
{include file="public/head" /}
<div class="w-100 slogan text-center px-2">
    {$slogan}
</div>
<!--banner 开始-->
<?php $banner = ad(10,$lang); ?>
<div class="w-100"> 
    {foreach $banner as $key=>$adRs}
        {if $key <3}
            {switch $key}
                {case 0|1}
                    <div class="w-100 mb-5" style="background: #fbfbfd;">
                        <div class="w-100 text-center text-a" style="line-height: 1.1; ">{$adRs.title|raw}</div>
                        <div class="w-100 text-center text-b" style="margin-top: 15px; line-height: 1.1;">{$adRs.description|raw}</div>
                        <div class="w-100 text-center text-c" style="margin-top: 15px; line-height: 1.3;">
                            <a href="{$adRs.linkurl}" style="color: #06c;">{:lang('v_see_more')}<i class="fas fa-chevron-right ml-2" style="font-size: 14px;"></i></a>
                        </div>
                        <div class="w-100 text-center"><img src="{$adRs.thumb}" style="max-width: 100%"></div>
                    </div>
                {/case}
                {case 2}
                    <div class="w-100" style="background: #000;">
                        <div class="container">
                            <div class="row mb-3">
                                <div class="offset-md-2 col-md-4 mt-sm-5 pt-sm-5">
                                    <div class="w-100 text-center mt-5 pt-sm-5"><img src="{$ipad_air}" class="mt-sm-5" style="max-width: 100%;"></div>
                                    <div class="w-100 text-center text-b" style="margin-top: 15px; line-height: 1.1; color: #f5f5f7;">{$adRs.description|raw}</div>
                                    <div class="w-100 text-center text-c" style="margin-top: 15px; line-height: 1.3;">
                                        <a href="{$adRs.linkurl}" style="color: #06c;">{:lang('v_see_more')}<i class="fas fa-chevron-right ml-2" style="font-size: 14px;"></i></a>
                                    </div>
                                </div>
                                <div class="col-md-6 my-sm-5 mb-4 text-center"><img src="{$adRs.thumb}" style="max-width: 100%"></div>
                            </div>
                        </div>
                    </div>
                {/case}
            {/switch}
        {else /}
            <div class="float-left mb-3 col-md-6 px-sm-3 px-0">
                <div class="text-center" style="background: url({$adRs.thumb}) center no-repeat; height: 580px;">
                    {switch $key}
                        {case 3}
                            <div class="w-100" style="padding-top: 400px; font-size: 24px; line-height: 1.1; color: #f5f5f7;">{$adRs.title|raw}</div>
                            <div class="w-100" style="margin-top: 10px; font-size: 18px; line-height: 1.3; color: #c6e1e6;">{$adRs.description|raw}</div>
                            <div class="w-100" style="margin-top: 20px; font-size: 16px; line-height: 1.3;">
                                <a href="{$adRs.linkurl}" style="color: #2997ff;">{:lang('v_see_more')}<i class="fas fa-location-arrow ml-2" style="font-size: 14px;"></i></a>
                            </div>
                        {/case}
                        {case 4|5|6|8}
                            <div class="w-100 text-d" style="padding-top: 40px; line-height: 1.1;">{$adRs.title|raw}</div>
                            <div class="w-100" style="margin-top: 10px; font-size: 20px; line-height: 1.3;">{$adRs.description|raw}</div>
                            <div class="w-100" style="margin-top: 15px; font-size: 16px; line-height: 1.3;">
                                <a href="{$adRs.linkurl}" style="color: #06c;">{:lang('v_see_more')}<i class="fas fa-chevron-right ml-2" style="font-size: 12px;"></i></a>
                            </div>
                        {/case}
                        {case 7}
                            <div class="w-100" style="padding-top: 40px; font-size: 18px; line-height: 1.1; font-weight: 600;">{$adRs.title|raw}</div>
                            <div class="w-100" style="margin-top: 10px; font-size: 30px; line-height: 1.3;">{$adRs.description|raw}</div>
                            <div class="w-100" style="margin-top: 15px; font-size: 16px; line-height: 1.3;">
                                <a href="{$adRs.linkurl}" style="color: #06c;">{:lang('v_see_more')}<i class="fas fa-chevron-right ml-2" style="font-size: 12px;"></i></a>
                            </div>
                        {/case}
                    {/switch}
                </div>
            </div>
        {/if}
    {/foreach}
    <div class="clearfix"></div>
</div>
{include file="public/foot" /}
</body>
</html>